package com.xxq.gulimall.product.dao;

import com.xxq.gulimall.product.entity.AttrAttrgroupRelationEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 属性&属性分组关联
 * 
 * @author xxq
 * @email 1607903138@qq.com
 * @date 2022-04-28 20:20:14
 */
@Mapper
public interface AttrAttrgroupRelationDao extends BaseMapper<AttrAttrgroupRelationEntity> {
    AttrAttrgroupRelationEntity queryByAttrId(@Param("attrId") Long attrId);
    AttrAttrgroupRelationEntity queryByAttrGroupId(@Param("attrGroupId") Long attrGroupId);
}
